-- GENERATED SPELL FOR [Captain Flat Tusk] --


function spell0_5824(pUnit, Event) --@Heroic Strike,n/a--
pUnit:FullCastSpellOnTarget(25710,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5824', 544, 1)
end

function Sorts_5824(pUnit, Event)
local choix_sorts_5824 = math.random(0, 0)
if choix_sorts_5824 == 0 then
pUnit:RegisterEvent('spell0_5824', 1, 1)
end
end

function mob5824_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5824', math.random(1500, 3000), 1)
end

function mob5824_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5824_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5824_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5824, 1, 'mob5824_Action')
RegisterUnitEvent(5824, 2, 'mob5824_Leave')
RegisterUnitEvent(5824, 3, 'mob5824_Kill')
RegisterUnitEvent(5824, 4, 'mob5824_Die')
